import React, { Fragment } from "react";
import Header from "./Header";
import Home from "./pages/Home";
import { injectGlobal } from "styled-components";
import { normalize } from "polished";

injectGlobal`
    ${normalize()}
    
    html {
    font-size: 12px;
    color: #333;
    }
    
    * {
      font-family: "PingFang SC Regular","Microsoft YaHei UI","sans-serif";
    }
`;

class App extends React.Component {
  render() {
    return (
      <Fragment>
        <Header />
        <Home />
      </Fragment>
    );
  }
}

export default App;
